body{
	margin: 0;
	padding: 0;
    font-family: 'Open Sans', 'Roboto','Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
#canvas{
	background: rgba(0,0,0,1);
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}
#hover{
    display: none;
	position: fixed;
	z-index: 100;
	color: #AAA;
	user-select: none;
}
#mouse-pos::before{
	content: "Mouse Pos = ";
}
#sdf-value::before{
	content: "SDF(x, y) = ";
}
#fps::before{
	content: "fps = ";
}
#root {
    width: 100vw;
    height: 100vh;
}

#main {
    display: flex;
    flex-flow: row nowrap;
    flex-direction: row-reverse;
    height: calc(100vh - 64px);
}

#editor {
    width: 40%;
    height: 100%;
    background-color: #EEE;
}

#workspace {
    flex: 1 0;
    padding: 3%;
    
}

#top {
    width: 100%;
    height: 64px;
    background-color: #222;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 0 3em;
    box-sizing: border-box;
    user-select: none;
}

#preview {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    height: 80%;
}

.button {
    padding: .5em 2em;
    text-align: center;
    display: inline-block;
    background-color: #EEE;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    width: 5em;
}
.button:hover{
    background: #DDD;
}

#controller {
    padding-top: 3em;
}

#button-render {
    background-color: #fb4886;
    color: white;
}
#button-render:hover{
    background-color: #f4096c;
}

#editor-wrapper {
    height: 100%;
    width: 100%;
}

#title {
    font-size: 1.2em;
    color: white;
}

.ace_scrollbar::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}
.ace_scrollbar::-webkit-scrollbar-track{
    background: rgba(255,255,255,.1);
}
.ace_scrollbar::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,.3);
}
.ace_scrollbar::-webkit-scrollbar-thumb:hover{
    background: rgba(255,255,255,.5);
}
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #EEE;
    position: relative;
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: #52d031;
    transition: width .2s;
}

#render-progress {
    margin-top: 3em;
    opacity: 0;
    transition: opacity .5s;
}
#render-progress.show{
    opacity: 1;
}

#time {
    text-align: right;
    color: #777;
}
#time > span{
    display: inline-block;
    width: 10em;
}

#button-abort {
    margin-left: 2em;
    color: #444;
}
